<!DOCTYPE html>
<html>
<?php echo $this->fetch('head.html'); ?>
<body>
<div class="fullscreen">
  <div class="scroll_content">
    <div class="topfixed">
      <div class="t_left"><a href="/index.php"><i class="back"></i></a></div>
      <div class="t_main">金币兑换</div>
    </div>
    <div class="paddingheight"></div>
    
    <div class="comblock">
      <div class="product_list">
        <ul class="list clearfix">
        <?php $_from = $this->_var['list']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
          <li>
            <p><a href="/index.php?m=goldorder&a=confirm&id=<?php echo $this->_var['c']['id']; ?>"><img src="<?php echo images_site($this->_var['c']['imgurl']); ?>" class="img"></a></p>
            <p class="tit"><?php echo $this->_var['c']['title']; ?></p>
            <p class="price">金币：<b class="red"><?php echo $this->_var['c']['gold']; ?></b></p>
            <p><a href="/index.php?m=goldorder&a=confirm&id=<?php echo $this->_var['c']['id']; ?>" class="btn">立即兑换</a></p>
          </li>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>  
        </ul>
      </div>
    </div>
  </div>
</div>
<?php echo $this->fetch('footer.html'); ?>
</body>
</html>
